export default [
  {
    path: '/topics',
    component: () => import('@/components/layout/layout'),
    children: [
      {
        path: '/',
        name: 'topics',
        component: () => import('@/views/topic')
      },
      {
        path: ':id(\\d+)',
        name: 'article',
        props: true,
        component: () => import('@/views/topic/article'),
      }
    ]
  }
]
